package net.maku.express.biza.pojo.orderlist;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName order_list
 */
@TableName(value ="order_list")
@Data
public class OrderListPojo implements Serializable {
    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 订单号
     */
    @TableField(value = "order_no")
    private String orderNo;

    /**
     * 提单号
     */
    @TableField(value = "ti_dan_no")
    private String tiDanNo;

    /**
     * 入仓号
     */
    @TableField(value = "hourse_no")
    private String hourseNo;

    /**
     * 始发港口
     */
    @TableField(value = "origin_id")
    private Integer originId;

    /**
     * 目的港口
     */
    @TableField(value = "dest_id")
    private Integer destId;

    /**
     * 交货日期
     */
    @TableField(value = "delivery_date")
    private Date deliveryDate;

    /**
     * 入仓日期
     */
    @TableField(value = "hourse_date")
    private Date hourseDate;

    /**
     * 箱数
     */
    @TableField(value = "express_num")
    private Integer expressNum;

    /**
     * 毛重
     */
    @TableField(value = "weight")
    private Double weight;

    /**
     * 计费重量
     */
    @TableField(value = "charge_weighy")
    private Double chargeWeighy;

    /**
     * 体积
     */
    @TableField(value = "volume")
    private Double volume;

    /**
     * 删除标志：0:未删除,1:已删除
     */
    @TableField(value = "delete_flag")
    private Integer deleteFlag;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 客户
     */
    @TableField(value = "customer_name")
    private String customerName;

    /**
     * 客户id
     */
    @TableField(value = "customer_id")
    private Long customerId;

    /**
     * 业务员id
     */
    @TableField(value = "sales_id")
    private Integer salesId;

    /**
     * 客服id
     */
    @TableField(value = "waiter_id")
    private Integer waiterId;

    /**
     * 业务类型:1:空运;2海运
     */
    @TableField(value = "business_state")
    private Integer businessState;

    /**
     * 航空公司
     */
    @TableField(value = "airline_company")
    private String airlineCompany;

    /**
     * 航班号
     */
    @TableField(value = "airline_no")
    private String airlineNo;

    /**
     * 航班日期
     */
    @TableField(value = "airline_date")
    private Date airlineDate;

    /**
     * 付款方式:1:PP,2:CC,3:半月结,4:月结
     */
    @TableField(value = "pay_state")
    private Integer payState;

    /**
     * 订单状态:1:草稿，2:不是草稿
     */
    @TableField(value = "order_state")
    private Integer orderState;

    /**
     * 进仓仓库
     */
    @TableField(value = "enter_hourse")
    private String enterHourse;

    /**
     * 进仓方式:1:客自入仓报关,2:我司入仓报关;3:客自入仓我司报关;4:我司入仓客自报关
     */
    @TableField(value = "enter_hourse_state")
    private Integer enterHourseState;

    /**
     * 配货司机
     */
    @TableField(value = "driver")
    private String driver;

    /**
     * 订单来源
     */
    @TableField(value = "order_origin")
    private String orderOrigin;

    /**
     * 品名
     */
    @TableField(value = "collect_name")
    private String collectName;

    /**
     * 货物类型:1:普货,2:敏感货,3:单证普货,4:单证敏感货
     */
    @TableField(value = "collect_type")
    private Integer collectType;

    /**
     * 总航程
     */
    @TableField(value = "total_voyage")
    private Integer totalVoyage;

    /**
     * 目前航程
     */
    @TableField(value = "dest_voyage")
    private String destVoyage;

    /**
     * 订单审核状态:0:未审核,1:审核中,2:审核完成
     */
    @TableField(value = "examine_state")
    private Integer examineState;

    /**
     * 总收入
     */
    @TableField(value = "toal_income")
    private Double toalIncome;

    /**
     * 总支出
     */
    @TableField(value = "total_pay")
    private Double totalPay;

    /**
     * 总利润
     */
    @TableField(value = "total_profit")
    private Double totalProfit;

    /**
     * 创建人
     */
    @TableField(value = "creator")
    private Long creator;

    /**
     * 组织id
     */
    @TableField(value = "orig_id")
    private Integer origId;

    /**
     * 订单ID
     */
    @TableField(value = "logistics_order_id")
    protected Long logisticsOrderId;

    /**
     * 始发地国家
     */
    @TableField(value = "origin_country")
    private String originCountry;

    /**
     * 目的地国家
     */
    @TableField(value = "destination_country")
    private String destinationCountry;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}